{% extends 'base.html' %}
{% block title %}
    {{ data.title }}
{% endblock %}
{% block content %}
    <h3>{{ data.title }}</h3>
    <p class="article-desc">
        <span>
            发布时间:{{ data.create_time }}
        </span>
        <span>
            文章作者:{{ data.author.real_name }}
        </span>
    </p>
    <hr>
    <p class="content">{{ data.content }}</p>
    <style>
        .article-desc {
            margin-top: 30px;
            font-size: 14px;
            color: #333;
        }
        .article-desc>span{
            margin-right: 40px;
        }
        .content{
            color:#444;
            text-indent: 2em;
        }
    </style>
{% endblock %}